﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>在线进销存管理</title>
    <link href="@Url.Content("~/Content/themes/v1/Site.css")" rel="Stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/easyui/default/easyui.css")" rel="Stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/easyui/icon.css")" rel="Stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/Global/jquery-1.8.0.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Global/jquery.easyui.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Global/mainUI.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DatePicker/WdatePicker.js")" type="text/javascript"></script>
    @RenderSection("header", required: false)
</head>
<body class="easyui-layout">
    <div data-options="region:'north',split:false" style="height: 90px;">
        <div id="header" class="easyui-panel" data-options="fit:true" title="进销存管理系统v1.0">
            <div class="help_and_close">
                <span><b>服务电话:</b>020-12345678</span>
                @Html.ActionLink("退出", ActionConst.LOGOFF, ControllerConst.USERACCOUNT)
            </div>
            <div class="title">
            </div>
        </div>
    </div>
    <div data-options="region:'south',split:true,collapsed:true" title="South Title" style="height: 100px; padding: 10px; background: #efefef;">
        <div class="easyui-layout" data-options="fit:true" style="background: #ccc;">
            <div data-options="region:'center'">
                sub center
            </div>
            <div data-options="region:'east',split:true" style="width: 200px;">
                备案
            </div>
        </div>
    </div>
    <div id="east_panle" title="小工具面板" data-options="region:'east',split:false,collapsed:true,iconCls:'icon-app_double'" style="width: 250px;">
        <div id="east_tt" class="easyui-tabs" data-options="tools:'#tab-tools',fit:true,border:false">
            <div title="通知" style="padding: 20px; overflow: hidden;">
            </div>
            <div title="日历" style="padding: 20px; overflow: hidden;">
            </div>
            <div title="天气日历" style="padding: 20px; overflow: hidden;">
                <iframe width="225" scrolling="no" height="80" frameborder="0" allowtransparency="true" src="http://www.tianqi.com/index.php?c=code&id=8&color=%23002060&bgc=%23FFFFFF&icon=1&py=guangzhou&num=3"></iframe>
                <div style="width: 250px; height: 200px; text-align: center;">
                    <div class="easyui-calendar" style="width: 200px; height: 180px; padding: 2px;" data-options="fit:true">
                    </div>
                </div>
            </div>
        </div>
        <div id="tab-tools">
            <a href="#" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-set'" onclick="setCollapsedFalse()"></a>
        </div>
    </div>
    <div data-options="region:'west',split:true" title="功能菜单" style="width: 200px; padding: 1px; overflow: hidden;">
        <div class="easyui-accordion" data-options="fit:true,border:false">
            <div id="c_purchase" title="采购" class="subfunction_category" data-options="selected:true,iconCls:'icon-buy'">
                <a href="#" onclick="addTab('采购订单','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.PURCHASEORDER)')">采购订单</a>
                <a href="#" onclick="addTab('采购入库','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.PURCHASE)')">采购入库</a>
                <a href="#" onclick="addTab('采购退货','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.PURCHASERETURN)')">采购退货</a>
                <a href="#" onclick="addTab('付款单','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.PAY)')">付款单</a>
                <a href="#" onclick="addTab('采购订单管理','center_tt','@Url.Action(ActionConst.MANAGE, ControllerConst.PURCHASEORDER)')">采购订单管理</a>
                <a href="#" onclick="addTab('应付初始余额','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.UNPAY)')">应付初始余额</a>
            </div>
            <div id="c_sale" title="销售" class="subfunction_category" data-options="selected:true,iconCls:'icon-money'">
                <a href="#" onclick="addTab('销售订单','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.SALESORDER)')">销售订单</a>
                <a href="#" onclick="addTab('销售出库','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.SALES)')">销售出库</a>
                <a href="#" onclick="addTab('销售退货','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.SALESRETURN)')">销售退货</a>
                <a href="#" onclick="addTab('销售价格单','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.SALESPRICE)')">销售价格单</a>
                <a href="#" onclick="addTab('收款单','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.RECEIPT)')">收款单</a>
                <a href="#" onclick="addTab('应收初始余额','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.RECEIVABLES)')">应收初始余额</a>
            </div>
            <div id="c_stock" title="仓库" class="subfunction_category" data-options="selected:true,iconCls:'icon-house'">
                <a href="#" onclick="addTab('其他入库单','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.STOCKINOUT, new { isin = 1 })')">其他入库单</a>
                <a href="#" onclick="addTab('其他出库单','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.STOCKINOUT, new { isin = 0 })')">其他出库单</a>
                <a href="#" onclick="addTab('盘点单','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.STOCKCHECK)')">盘点单</a>
                <a href="#" onclick="addTab('存货调拨','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.STOCKALLOCATE)')">存货调拨</a>
            </div>
            <div id="c_reprot" title="报表" class="subfunction_category" data-options="selected:true,iconCls:'icon-report'">
                content3
            </div>
            <div id="c_setting" title="设置" class="subfunction_category" data-options="selected:true,iconCls:'icon-set'">
                <a href="#" onclick="addTab('公司档案','center_tt','@Url.Action(ActionConst.INDEX, ControllerConst.CORPORATION)')">公司档案</a>
                <a href="#" onclick="addTab('系统参数','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.SYSTEMCONFIG)')">系统参数</a>
                <a href="#" onclick="addTab('基础数据编码规则','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.BASECODERULE)')">基础数据编码规则</a>
                <a href="#" onclick="addTab('单据编码规则','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.RECEIPTCODERULE)')">单据编码规则</a>
                <a href="#" onclick="addTab('币别','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.CURRENCY)')">币别</a>
                <a href="#" onclick="addTab('银行账户','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.ACCOUNT)')">银行账户</a>
                <a href="#" onclick="addTab('部门档案','center_tt','@Url.Action(ActionConst.INDEX, ControllerConst.DEPARTMENT)')">部门档案</a>
                <a href="#" onclick="addTab('职员档案','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.EMPLOYEE)')">职员档案</a>
                <a href="#" onclick="addTab('客户档案','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.CUSTOMER)')">客户档案</a>
                <a href="#" onclick="addTab('供应商档案','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.SUPPLIER)')">供应商档案</a>
                <a href="#" onclick="addTab('存货档案','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.STOCK)')">存货档案</a>
                <a href="#" onclick="addTab('存货初始余额','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.STOCKINITIALBALANCE)')">存货初始余额</a>
            </div>
            <div id="c_service" title="服务" class="subfunction_category" data-options="selected:true,iconCls:'icon-user'">
                <a href="#" onclick="addTab('权限授权','center_tt','@Url.Action(ActionConst.AUTHORIZE, ControllerConst.SYSACTION)')">权限授权</a>
                <a href="#" onclick="addTab('帐号管理','center_tt','@Url.Action(ActionConst.ADD, ControllerConst.USERACCOUNT)')">帐号管理</a>
            </div>
        </div>
    </div>
    <div data-options="region:'center'" style="overflow: hidden;">
        <div id="center_tt" class="easyui-tabs" data-options="tools:'#ts-tools',fit:true,border:false">
            @RenderBody()
        </div>
    </div>
    <div id="ts-tools" style="border-right: 0; border-top: 0">
        <a href="#" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-close'" onclick="closeAllTabs('center_tt')"></a>
    </div>
    @Scripts.Render("~/bundles/jqueryval")
    @RenderSection("scripts", required: false)
</body>
</html>
